package com.wl.shop.service.impl;

import com.wl.shop.entity.FieldArticle;
import com.wl.shop.dao.FieldArticleDao;
import com.wl.shop.service.FieldArticleService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wangl
 * @since 2017-06-08
 */
@Service("fieldArticle")
@Transactional(readOnly = true)
public class FieldArticleServiceImpl extends ServiceImpl<FieldArticleDao, FieldArticle> implements FieldArticleService {

	@Autowired
	private FieldArticleDao fieldArticleDao;
	
	@Override
	public List<FieldArticle> getFieldArticleByMap(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return fieldArticleDao.getFieldByMap(map);
	}
	
}
